package com.eshore.textanalyzer.elk.common;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author xyd
 * @date 2021/5/12
 * 引用yml配置记载es账号密码
 */
@Data
@Component
@ConfigurationProperties(prefix="es")
public class ElasticConf {
    private String host;

    private String port;

    private String username;

    private String password;

    private int size;
}
